package com.ss.android.article.lite;

import im.quar.autolayout.ScaleAdapter;
import im.quar.autolayout.utils.ScreenUtils;

final class c implements ScaleAdapter {
    private final ArticleApplication a;

    c(ArticleApplication arg1) {
        this.a = arg1;

    }

    public final float adapt(float arg6, int arg7, int arg8) {
        int v1 = 720;
        int v0 = 480;
        float v4 = 1.05f;
        if(arg7 < v1 || arg8 < v1) {
            if(arg7 > v0 && arg8 > v0) {
                return ScreenUtils.getDevicePhysicalSize(this.a.getContext()) < 4 ? 1.15f : v4;
            }

            arg6 *= v4;
        }

        return arg6;
    }
}

